<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="<c:url value='/resources/styles/main.css' />" type="text/css"/>
    <script type="text/javascript" src="<c:url value='/resources/scripts/datePicker/WdatePicker.js' />"></script>

    <script type="text/javascript">

    </script>
    <style type="text/css">

        .calendar {
            /*margin-left: 20px;*/
            margin-left: 10px;
            /*width: 700px;*/
            /*width: 88%;*/
            min-height: 150px;
            height: 90%;
            /*border: solid 1px #006600;*/
            font-size: 15px;
            float: left;
        }
        .td {
            margin-top: 6px;
            text-align: left;

        }
    </style>
    <title>日程维护</title>
</head>
<body>

<table class="pagination" style="padding-left: 70px;">
    <tr>
        <td>
            <a href="<c:url value='/admin/calendar/listCalendar.do' />">返回日程列表</a>
        </td>
    </tr>
</table>
<form enctype="multipart/form-data" id="editCalendar" name="editCalendar" action="<c:url value='/admin/calendar/editCalendarAction.do' />" method="post">

    <table class="list">
        <tr>
            <th>时段</th>
            <th>内容</th>
        </tr>
        <tr >
            <td colspan="2">
                会议日期：&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" id="day" name="day"  class="Wdate" value="${data.day}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd', readOnly:true})"/>
            </td>
        <tr>
        <tr>
            <td>上午</td>
            <td><div class="calendar">

                <table  class="list">
                    <tr>
                        <td> 默认图片</td>
                        <td><input type='file' name='amIconName' id='amIconName'/></td>
                        <td style="background-color:#20A2D4;height: 114px;width: 114px;float: right;"> <img src="${link}${data.amIcon}" width="110px" height="110px" alt="未上传图片"/></td>
                    </tr>

                    <tr>
                        <td>当前图片</td>
                        <td><input type='file' name='amIconTodayName' id='amIconTodayName' /></td>
                        <td style="background-color:#20A2D4;height: 114px;width: 114px;float: right;"><img alt="未上传图片" src="${link}${data.amIconToday}" width="114px" height="114px"/></td>
                    </tr>
                    <tr>
                        <td> 会议主题</td>
                        <td colspan="2"><textarea  name='amTopic' id='amTopic' class='td' cols="50">${data.amTopic}</textarea></td>

                    </tr>
                    <tr>
                        <td>会议时间段</td>
                        <td><input type='text' name='amTime' id='amTime'  class='td' value="${data.amTime}"/></td>
                    </tr>
                    </table>
            </div></td>
        </tr>
        <tr>
            <td>中午</td>
            <td><div class="calendar">
                <%--默认图片：<input type='file' name='noonIconName' id='noonIconName' />&nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.noonIcon}"/></br>--%>
                <%--当前图片：<input type='file' name='' id='noonIconTodayName' class='td'/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.noonIconToday}"/></br>--%>
                <%--会议主题：<textarea  name='noonTopic' id='noonTopic' class='td' cols="50">${data.noonTopic}</textarea></br>--%>
                <%--会议时间段：<input type='text' name='noonTime' id='noonTime' class='td' value="${data.noonTime}"/>--%>
                    <table  class="list">
                        <tr>
                            <td> 默认图片</td>
                            <td><input type='file' name='noonIconName' id='noonIconName' /></td>
                            <td style="background-color:#1464AB;height: 114px;width: 114px;float: right;"> <img alt="未上传图片" src="${link}${data.noonIcon}" width="110px" height="110px"/></td>
                        </tr>

                        <tr>
                            <td>当前图片</td>
                            <td><input type='file' name='noonIconTodayName' id='noonIconTodayName' /></td>
                            <td style="background-color:#1464AB;height: 114px;width: 114px;float: right;"><img alt="未上传图片" src="${link}${data.noonIconToday}" width="114px" height="114px"/></td>
                        </tr>
                        <tr>
                            <td> 会议主题</td>
                            <td colspan="2"><textarea  name='noonTopic' id='noonTopic' class='td' cols="50">${data.noonTopic}</textarea></td>

                        </tr>
                        <tr>
                            <td>会议时间段</td>
                            <td><input type='text' name='noonTime' id='noonTime' class='td' value="${data.noonTime}"/></td>
                        </tr>
                    </table>
            </div></td>
        </tr>
        <tr>
            <td>下午</td>
            <td><div class="calendar">
                <%--默认图片：<input type='file' name='pmIconName' id='pmIconName' class='td'/> &nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.pmIcon}"/></br>--%>
                <%--当前图片：<input type='file' name='pmIconTodayName' id='pmIconTodayName' class='td'/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.pmIconToday}"/></br>--%>
                <%--会议主题：<textarea  name='pmTopic' id='pmTopic' class='td' cols="50">${data.pmTopic}</textarea></br>--%>
                <%--会议时间段：<input type='text' name='pmTime' id='pmTime' class='td' value="${data.pmTime}"/>--%>
                    <table  class="list">
                        <tr>
                            <td> 默认图片</td>
                            <td><input type='file' name='pmIconName' id='pmIconName' class='td'/></td>
                            <td style="background-color:#20A2D4;height: 114px;width: 114px;float: right;"> <img alt="未上传图片" src="${link}${data.pmIcon}" width="110px" height="110px"/></td>
                        </tr>

                        <tr>
                            <td>当前图片</td>
                            <td><input type='file' name='pmIconTodayName' id='pmIconTodayName' class='td'/></td>
                            <td style="background-color:#20A2D4;height: 114px;width: 114px;float: right;"><img alt="未上传图片" src="${link}${data.pmIconToday}" width="114px" height="114px"/></td>
                        </tr>
                        <tr>
                            <td> 会议主题</td>
                            <td colspan="2"><textarea  name='pmTopic' id='pmTopic' class='td' cols="50">${data.pmTopic}</textarea></td>

                        </tr>
                        <tr>
                            <td>会议时间段</td>
                            <td><input type='text' name='pmTime' id='pmTime' class='td' value="${data.pmTime}"/></td>
                        </tr>
                    </table>
            </div></td>
        </tr>
        <tr>
            <td>晚上</td>
            <td><div class="calendar">
                <%--默认图片：<input type='file' name='nightIconName' id='nightIconName' class='td'/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.nightIcon}"/></br>--%>
                <%--当前图片：<input type='file' name='nightIconTodayName' id='nightIconTodayName' class='td'/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="${link}${data.nightIconToday}"/></br>--%>
                <%--会议主题：<textarea  name='nightTopic' id='nightTopic' class='td' cols="50">${data.nightTopic}</textarea></br>--%>
                <%--会议时间段：<input type='text' name='nightTime' id='nightTime' class='td'value="${data.nightTime}"/>--%>
                    <table  class="list">
                        <tr>
                            <td> 默认图片</td>
                            <td><input type='file' name='nightIconName' id='nightIconName' class='td'/></td>
                            <td style="background-color:#1464AB;height: 114px;width: 114px;float: right;"> <img alt="未上传图片" src="${link}${data.nightIcon}" width="110px" height="110px"/></td>
                        </tr>

                        <tr>
                            <td>当前图片</td>
                            <td><input type='file' name='nightIconTodayName' id='nightIconTodayName' class='td'/></td>
                            <td style="background-color:#1464AB;height: 114px;width: 114px;float: right;"><img alt="未上传图片" src="${link}${data.nightIconToday}" width="114px" height="114px"/></td>
                        </tr>
                        <tr>
                            <td> 会议主题</td>
                            <td colspan="2"><textarea  name='nightTopic' id='nightTopic' class='td' cols="50">${data.nightTopic}</textarea></td>

                        </tr>
                        <tr>
                            <td>会议时间段</td>
                            <td><input type='text' name='nightTime' id='nightTime' class='td'value="${data.nightTime}"/></td>
                        </tr>
                    </table>

            </div></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="hidden" id='id' name='id' value="${data.id}" />
                <input type="hidden" id='entryDate' name='entryDate' value="${data.entryDate}" />
                <input type="hidden" id='amIcon' name='amIcon' value="${data.amIcon}" />
                <input type="hidden" id='amIconToday' name='amIconToday' value="${data.amIconToday}" />
                <input type="hidden" id='pmIcon' name='pmIcon' value="${data.pmIcon}" />
                <input type="hidden" id='pmIconToday' name='pmIconToday' value="${data.pmIconToday}" />
                <input type="hidden" id='noonIcon' name='noonIcon' value="${data.noonIcon}" />
                <input type="hidden" id='noonIconToday' name='noonIconToday' value="${data.noonIconToday}" />
                <input type="hidden" id='nightIcon' name='nightIcon' value="${data.nightIcon}" />
                <input type="hidden" id='nightIconToday' name='nightIconToday' value="${data.nightIconToday}" />
                <input type='submit' value="提交" />
            </td>
        </tr>
    </table>

</form>
</body>
</html>